<?php
@session_start();
if(!@$_SESSION['DB']):{?>
	<script type="text/javascript">
		alert("Su Sesión a caducado...");
		setTimeout(function(){window.open("<?php echo $_SERVER['HTTP_REFERER']?>","_parent");},10);
	</script>
<?php }endif;?>